public class Main {
    public static void main(String[] args) {
        int [] num1 = new int[]{1,2,3,0,0,0,0,0};
        int [] num2 = new int[]{2,3,4,5};
      AddArray a = new AddArray();
      a.addArray(num1,num2,3+4,4);
    }
}